#include <iostream>
#include <stdlib.h>
#include <algorithm>
#include <cstring>
#include <cmath>
#include <stdlib.h>
#include <iomanip>
int minutes_needed(int n, int u, int d)
{
    int count = 0;
    while (1) {
        n-=u;count++;
        if(n<=0)
            return count;
        n+=d;count++;
    }
}
int main()
{
    int n,u,d;
    while (1) {
        std::cin>>n>>u>>d;
        if((n|u|d)==0)
            break;
        std::cout<<minutes_needed(n,u,d)<<std::endl;
    }
    return 0;
}
